﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using NetDon.OA.Data.HelperClasses;
using NetDon.OA.Interface.eLogistics;

namespace NetDon.OA.Interface
{
    public interface IMachineAccountService
    {

        IEnumerable<MachineAccountData> SearchMachineAccountDataByCondition(MachineAccountSearchCriteria criteria);

        bool AddMachineAccounts(MachineAccountData entity);
          bool AddMachineAccounts(MachineAccountData entity, Transaction trans);

        bool ModifyMachineAccounts(MachineAccountData entity);
        bool RemoveMachineAccounts(Guid machineAccountId, MachineAccountType type);

        MachineAccountData GetMachineAccounts(Guid machineAccountId, MachineAccountType type);
        MachineAccountData GetMachineAccountPaymentSummary(MachineAccountData machineAccountData);

        bool ExistsPaymentMachineAccountByIssuingOrder(Guid issuingOrderId);
    }


}
